{{--
 * Created by PhpStrom
 * User: 郭碧云
 * Date: 2021/3/1 14:37
 * Desc:
 --}}

<div class="layui-card-body ">
    <form class="layui-form layui-col-space5 layui-input-inline" id="search-form">
        <div class="demoTable">
            <div class="layui-inline">
                <input class="layui-input" name="name" id="name" style="width: 100% !important;"
                       value="{{request('name')}}" placeholder="请输入账号名称">
            </div>
            <div class="layui-inline">
                <input class="layui-input" name="real_name" id="real_name" style="width: 100% !important;"
                       value="{{request('real_name')}}" placeholder="请输入真实姓名">
            </div>
            <div class="layui-inline">
                <input class="layui-input" name="mobile" id="mobile" style="width: 100% !important;"
                       value="{{request('mobile')}}" placeholder="请输入电话号码">
            </div>
            <div class="layui-input-inline locked_ch">
                <select id="choose" name="is_locked">
                    <option @if(request("is_locked")=="") selected @endif value="">--用户状态--</option>
                    <option @if(request("is_locked")=="1") selected @endif value="1">禁用</option>
                    <option @if(request("is_locked")=="0") selected @endif value="0">启用</option>
                </select>
            </div>
            <div class="layui-input-inline locked_ch">
                <select id="org_id" name="org_id">
                    <option @if(request("org_id")=="") selected @endif value="">--组织机构--</option>
                </select>
            </div>
            {{--@if(getCurrentSiteId()==0)
                <div class="layui-input-inline locked_ch">
                    <select id="site_id" name="site_id">
                        <option @if(request("site_id")=="") selected @endif value="">--站点--</option>--}}
                        {{--@foreach($sites as $site)
                            <option @if(request("site_id")==$site->id) selected
                                    @endif value="{{$site->id}}">{{$site->site}}</option>
                        @endforeach--}}
                    {{--</select>
                </div>
            @endif--}}
            <div class="layui-inline layui-show-xs-block">
                <button class="layui-btn" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i>
                </button>
            </div>
        </div>
    </form>
</div>
